<template>
  <div class="head-bar">
    <div class="head">
      <div class="left">
        <slot name="left"></slot>
      </div>
      <div class="center">
        <slot name="center">首页</slot>
      </div>
      <div class="right">
        <slot name="right">登录</slot>
      </div> 
    </div>
  </div>
</template>

<script>
export default {
  name:'Navigation',
}
</script>

<style lang="less" scoped>
  *{
    padding: 0;
    margin: 0;
  }
  .head-bar{
    height: 64px;
    .head{
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      background-color: #3190e8;
      color: white;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      height: 64px;
    }
  }
</style>